package com.bestcem.xm.award.controller.param.award;

import com.bestcem.xm.award.controller.dto.AwardDTO;
import com.bestcem.xm.award.controller.dto.WinDataDTO;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * 更新奖励Controller层请求体
 * @author sh.pei <sh.pei@idiaoyan.com>
 * @version v3.0
 * @date 2021/8/17 16:49
 */
@NoArgsConstructor
@Getter
@Setter
@ToString
public class UpdateAwardParam implements Serializable {

    /**
     * Required. 奖励元数据
     */
    private AwardDTO award;

    /**
     * Optional. 抽奖兑奖码数据
     */
    @JsonProperty(value = "win_data")
    private WinDataDTO winData;
}
